local dfx_util_sources = "dfx_util.cpp"

target("dfx_util")
	set_kind("static")
	add_files(dfx_util_sources)
	add_includedirs(
		"./",
		"$(projectdir)/common/dfxlog",
		"$(projectdir)/interfaces/common",
		{public = true}
	)
	add_headerfiles(
		"./*.h",
		"$(projectdir)/common/dfxlog/*.h",
		"$(projectdir)/interfaces/common/*.h"
	)
	-- add_defines("is_linux=1")
	-- add_defines("is_host")
	add_deps("dfx_hilog")
	add_packages("c_utils", "hilog")